package support.model;

import java.util.Date;

/**
 * @Author Antony
 * @Since 2017/12/7 17:25
 */
public class Bird {

    private Integer id;

    private String name;

    private Date birthday;

    private Integer weight;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Bird(Integer id, String name, Date birthday, Integer weight) {
        this.id = id;
        this.name = name;
        this.birthday = birthday;
        this.weight = weight;
    }

    public Bird() {
    }

    @Override
    public String toString() {
        return "Bird{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                ", weight=" + weight +
                '}';
    }
}
